/* 初始化一些样式 */
* {
  padding: 0;
  margin: 0;
  font-size: 12px;
}

ul,
ol,
a,
a:link {
  text-decoration: none;
  list-style: none;
  /* color: #1D1D1F; */
}

input {
  outline: none;
}

.color-f5f7 {
  color: #f5f5f7;
}

/* 顶部导航栏样式 */
.top-nav {
  background-color: #000000cc;
  height: 44px;
  width: 100vw;
  min-width: 980px;
  /* 	position: fixed; */
  z-index: 222;
}

/* 顶部导航栏版心 */
.top-center {
  width: 1180px;
  margin: 0 auto;
}

/* 对nav的ul进行弹性布局 */
.top-center .nav-ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  opacity: 1;
  /* visibility: visible; */
  transition: 0.5s;
}

.top-center .nav-ul > li > a {
  color: #f5f5f7;
  display: block;
  line-height: 44px;
  padding: 0 8px;
  opacity: 0.7;
  background-repeat: no-repeat;
}

/* 设置停留变色的效果 */
.top-center .nav-ul li a:hover {
  opacity: 1;
}

/* 小苹果图标 */
.nav-link-apple {
  background-image: url("./img/global_apple_image.svg");
  background-size: 14px 44px;
  background-position: center center;
  width: 14px;
}

/* 搜索放大镜图标 */
.nav-link-search {
  background-image: url("./img/global_search_image.svg");
  background-size: 15px 88px;
  background-position: 8px 0;
  width: 15px;
}

/* 购物袋图标 */
.nav-link-bag {
  background-image: url("./img/global_bag_image.svg");
  background-size: 13px 44px;
  width: 13px;
  background-position: center center;
}

.nav-icon span {
  width: 1px;
  height: 1px;
  display: inline-block;
}

/* 遮罩层 */
.masked {
  background-color: rgba(0, 0, 0, 0.7);
  /* 使用固定定位撑满全屏 */
  position: fixed;
  /* 使得撑满全屏，四个位置都是0 */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 223;
}

/* 遮罩层里的搜索内容 */
.masked .search-box {
  width: calc(980px * 0.66);
  height: 538px;
  /* background-color: white; */
  text-align: center;
  position: absolute;
  /* 当一个明确宽高的子元素绝对定位,使用margin auto实现在父元素里的水平垂直居中 */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.search-head {
  /* display: flex; */
  /* justify-content: space-around; */
  height: 44px;
  position: relative;

  opacity: 0;
  transform: scale(0);
  margin-left: 100%;
  transition: 0.6s;
}

.search-head input {
  border: 0;
  /* border-radius: 20px; */
  padding: 0 38px 0 40px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.7);

  color: white;
  font-size: 16px;
  overflow: hidden;
}

.search-head .sreach-img {
  display: inline-block;
  height: 44px;
  width: 40px;
  background-repeat: no-repeat;
  background-size: 15px 88px;
  background-position: 12.5px -44px;
  background-image: url("img/global_search_image.svg");
  position: absolute;
  top: 0;
  left: 0;
}

.search-head .sreach-img2 {
  display: inline-block;
  cursor: pointer;
  height: 22px;
  width: 22px;
  opacity: 0.6;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  transform: rotate(45deg);
  background-image: url("img/close.png");
  position: absolute;
  color: #86868b;
  top: 11px;
  right: 0;
}

.search-text {
  background-color: white;
  width: 100%;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  text-align: left;
  padding: 10px 10px;
  box-sizing: border-box;
  opacity: 0;
  transition: 1s;
}

.search-text h3 {
  font-size: 12px;
  color: #6e6e73;
  margin-left: 20px;
  margin-top: 23px;
  font-weight: 300;
}

.search-text span {
  border-top: 1px solid #d2d2d7;
  display: block;
  width: 100%;
}

.search-text ul {
  padding-top: 5px;
  padding-bottom: 15px;
}

.search-text ul li:hover {
  background-color: #f5f5f7;
}

.search-text ul li a {
  display: block;
  font-size: 14px;
  line-height: 2.5;
  padding: 0 48px;
  color: #6e6e73;
}

.shoppBag {
  position: relative;
}

.shoppBag-box {
  /* height: 322px; */
  width: 286px;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  position: absolute;
  top: 100%;
  left: -125.5px;
  background-color: white;
  z-index: 224;
}

.bag-view {
  margin: 0 auto;
  padding: 0 20px;
}

.bag-view > p {
  padding: 35px 0 23px;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #6e6e73;
}

.bag-nav {
  margin-bottom: 9px;
}

.bag-nav-ul {
  margin-top: 12px;
}

.bag-nav-ul li {
  border-top: 1px solid #d2d2d7;
}

.bag-nav-ul li a {
  font-size: 14px;
  color: #06c;
  display: block;
  line-height: 44px;
  padding: 0 28px;
  overflow: hidden;

  background-repeat: no-repeat;
  background-position: -2px 11px;
  background-size: 21px 21px;
}

.bag-nav-ul li a:hover {
  text-decoration: underline;
}

.bag-nav-baglink {
  background-image: url("img/bag.svg");
}

.bag-nav-collect {
  background-image: url("img/savedbyyou.svg");
}

.bag-nav-orders {
  background-image: url("img/orders.svg");
}

.bag-nav-account {
  background-image: url("img/account.svg");
}

.bag-nav-singin {
  background-image: url("img/signIn.svg");
}

.footer {
  width: 100%;
  /* padding: 0 22px; */
  color: #6e6e73;
  font-size: 12px;
}

.foot-center {
  width: 1180px;
  margin: 0 auto;
}
.foot-text {
  border-bottom: 1px solid #d2d2d7;
}
.foot-text p {
  font-weight: 400;
  padding-bottom: 4px;
}

.foot-link {
  color: #424245;
}

.foot-nag {
  padding: 17px 0;
}

.foot-nag ol {
  display: flex;
  text-align: center;
}

.foot-nag ol li {
  margin-right: 7px;
  padding: 3px 4px 3px 0;
}

.foot-icon {
  background-image: url("./img/icon_large.svg");
  width: 14px;
  background-size: 14px 72px;
  background-repeat: no-repeat;
  height: 18px;
  display: block;
  background-position-y: -36px;
  background-position-x: center;
}
.foot-allLinks {
  display: flex;
  justify-content: space-between;
}
.foot-link-a ul li {
  margin-right: 20px;
  padding: 0;
  margin-bottom: 0.8em;
}

.foot-link-a ul li a {
  color: #424245;
}

.foot-link-a ul li a:hover {
  text-decoration: underline;
}

.foot-bootom {
  padding-top: 34px;
  padding-bottom: 21px;
  color: #6e6e73;
}
.foot-bootom-1 {
  margin-bottom: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d2d2d7;
}
